You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataNode performance bottleneck is mainly in datasetLock.DatasetLock not only influence performance and also influence stable.
We have split datasetLock to block pool level and volume level.And have stable run in 30000+ DataNode server in our cluster over than one year.It has big improvement for our client read write performance and stable.
This pr is split lock to block pool level.Another pr will split to volume level when this pr is merge.
hadoop-hdfs-project/hadoop-hdfs generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)
+1 💚
shadedclient
26m 30s
patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚
unit
17m 35s
hadoop-common in the patch passed.
+1 💚
unit
371m 23s
hadoop-hdfs in the patch passed.
+1 💚
asflicense
1m 5s
The patch does not generate ASF License warnings.
610m 51s
Reason
Tests
SpotBugs
module:hadoop-hdfs-project/hadoop-hdfs
Should org.apache.hadoop.hdfs.server.common.NoLockManager$NoLock be a static inner class? At NoLockManager.java:inner class? At NoLockManager.java:[lines 29-41]
org.apache.hadoop.hdfs.server.datanode.DataSetLockManager.lockLeakCheck() makes inefficient use of keySet iterator instead of entrySet iterator At DataSetLockManager.java:keySet iterator instead of entrySet iterator At DataSetLockManager.java:[line 258]
Should org.apache.hadoop.hdfs.server.datanode.DataSetLockManager$TrackLog be a static inner class? At DataSetLockManager.java:inner class? At DataSetLockManager.java:[lines 99-128]
Thanks @MingXiangLi for your works. It is a great progress now.
Take a quick glance, I think it is better to split it to different separate JIRA and PR, and more smooth to merge.
cc @jojochuang@sodonnel@goiri@ayushtkn Would you mind to take a look and give some other suggestions? Thanks.
@MingXiangLi are these 30K DNs in the same cluster or multiple clusters? What is the largest single cluster size you have run/tested?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design doc
https://drive.google.com/file/d/1eaE8vSEhIli0H3j2eDiPJNYuKAC0MFgu/view?usp=sharing
https://issues.apache.org/jira/browse/HDFS-15382
https://issues.apache.org/jira/browse/HDFS-15382